<?php


use think\facade\App;
use think\Service;

class ServiceRegister extends Service
{
    public function register()
    {
        // 注册绑定接口到实现类
        App::bind('app\api\service\shop\AccountTemplateService', 'app\api\service\shop\AccountTemplateService');
        App::bind('app\api\service\shop\CarbonFactorService', 'app\api\service\shop\CarbonFactorService');
        App::bind('app\api\service\shop\FactorCollectionService', 'app\api\service\shop\FactorCollectionService');
        App::bind('app\api\service\shop\SearchService', 'app\api\service\shop\SearchService');
    }
}